////////////////////////////////////////////////////////////////////////////////
//(c) Intelliquip, Inc. 2001
////////////////////////////////////////////////////////////////////////////////
//$Log:
// 3    Version 10.0 (Current View)1.2         11/5/2010 1:05:30 PM   Stephen
//      Kish    IDD#6245: Refactoring changes
// 2    Version 10.0 (Current View)1.1         10/19/2010 2:26:31 PM  Stephen
//      Kish    IDD#6245: Refactoring HttpSessions.get and set Attribute to use
//      DAO classes
// 1    Version 10.0 (Current View)1.0         9/29/2008 3:10:17 PM   Hai Hoang
//            
//$
//$NoKeywords$
////////////////////////////////////////////////////////////////////////////////
package com.intelliquip.hydraulicselection.control.web;

import javax.servlet.http.HttpSession;

import com.intelliquip.core.servlet.RefreshSettingsIncomingFilter;
import com.intelliquip.hydraulicselection.UserPreferences;

public class RefreshSettingsIncomingFilterSelector extends RefreshSettingsIncomingFilter {

	@Override
	protected void resetUserSettingsFromSettingsHash(HttpSession session) throws Exception {
		if (session != null) {
			SessionAttributeDAO_Selector dao = new HttpSessionAttributeDAO_Selector(session);
			UserPreferences userPreferences = dao.getUserPreferences();
			if (userPreferences != null) {
				userPreferences.resetUserSettingsFromSettingsHash();
			}
		}
	}

}
